package com.zsq.common.base;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * base服务类
 * @author zsq
 * 时间 2020/2/4 14:58
 **/
public interface SqBaseService<T extends BaseEntity> extends IService<T> {
    T selectOneByUuid(String uuid);
    boolean updateByUuid(T entity);
    boolean insert(T entity);

    boolean insertAutoUuid(T entity);

    boolean deleteByUuid(String uuid);
}
